package io.cici.server;

import io.cici.server.common.utils.PropertyUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;


@Slf4j
@EnableScheduling
@SpringBootApplication
public class ServerApplication {


    public static void main(String[] args) {

        pre();

        // Start SpringBoot application.
        try {
            SpringApplication.run(ServerApplication.class, args);
        } catch (Throwable t) {
            //log.error(TIPS);
            throw t;
        }
    }

    private static void pre() {
        //log.info(TIPS);
        PropertyUtils.init();
    }

}
